﻿using ThresholdAssistant.ConfigSdk;

namespace ThresholdAssistant.WebAPI.Models
{
    public class CronConstant
    {
        /// <summary>
        /// 示例同步Cron公式
        /// </summary>
        public static string DemoSyncCron => ConfigUtil.GetValue<string>("Cron:DemoSyncCron");

        /// <summary>
        /// 数据清理同步Cron公式
        /// </summary>
        public static string DataClearSyncCron => ConfigUtil.GetValue<string>("Cron:DataClearSyncCron");

        /// <summary>
        /// 发送短信同步Cron公式
        /// </summary>
        public static string SendSmsSyncCron => ConfigUtil.GetValue<string>("Cron:SendSmsSyncCron");
    }
}
